package com.red.wood.module.example.dao;

import java.util.List;
import java.util.Map;

import com.red.wood.common.mybatis.MyBatisDao;

@MyBatisDao
public interface ExampleDao{

	public void insert(Map<String,Object> map);
	
	public void update(Map<String,Object> map);
	
	public void delete(Map<String,Object> map);
	
	public void deleteById(String id);
	
	public List<Map<String,Object>> queryList(Map<String,Object> param);
	
	public Map<String,Object> queryById(Object id);
	
	public long queryCount(Map<String,Object> param);
	
	List<Map<String, Object>> getAllData(Map<String, Object> param);
	
	long getCount(Map<String,Object> param);
	
}
